<?php
namespace App\Storage;

use EasySwoole\Component\Singleton;

class Emoji {

    use Singleton;
    protected $emoji;

    function __construct()
    {
        if (!isset($this->emoji)) {
            $this->emoji = array(
                "[微笑]"      => '<img title="微笑" src="/images/emoji/0.gif">',
                "[撇嘴]"      => '<img title="撇嘴" src="/images/emoji/1.gif">',
                "[色]"        => '<img title="色" src="/images/emoji/2.gif">',
                "[发呆]"      => '<img title="发呆" src="/images/emoji/3.gif">',
                "[得意]"      => '<img title="得意" src="/images/emoji/4.gif">',
                "[流泪]"      => '<img title="流泪" src="/images/emoji/5.gif">',
                "[害羞]"      => '<img title="害羞" src="/images/emoji/6.gif">',
                "[闭嘴]"      => '<img title="闭嘴" src="/images/emoji/7.gif">',
                "[睡]"        => '<img title="睡" src="/images/emoji/8.gif">',
                "[大哭]"      => '<img title="大哭" src="/images/emoji/9.gif">',
                "[尴尬]"      => '<img title="尴尬" src="/images/emoji/10.gif">',
                "[发怒]"      => '<img title="发怒" src="/images/emoji/11.gif">',
                "[调皮]"      => '<img title="调皮" src="/images/emoji/12.gif">',
                "[龇牙]"      => '<img title="龇牙" src="/images/emoji/13.gif">',
                "[惊讶]"      => '<img title="惊讶" src="/images/emoji/14.gif">',
                "[难过]"      => '<img title="难过" src="/images/emoji/15.gif">',
                "[酷]"        => '<img title="酷" src="/images/emoji/16.gif">',
                "[冷汗]"      => '<img title="冷汗" src="/images/emoji/17.gif">',
                "[抓狂]"      => '<img title="抓狂" src="/images/emoji/18.gif">',
                "[吐]"        => '<img title="吐" src="/images/emoji/19.gif">',
                "[偷笑]"      => '<img title="偷笑" src="/images/emoji/20.gif">',
                "[可爱]"      => '<img title="可爱" src="/images/emoji/21.gif">',
                "[白眼]"      => '<img title="白眼" src="/images/emoji/22.gif">',
                "[傲慢]"      => '<img title="傲慢" src="/images/emoji/23.gif">',
                "[饥饿]"      => '<img title="饥饿" src="/images/emoji/24.gif">',
                "[困]"        => '<img title="困" src="/images/emoji/25.gif">',
                "[惊恐]"      => '<img title="惊恐" src="/images/emoji/26.gif">',
                "[流汗]"      => '<img title="流汗" src="/images/emoji/27.gif">',
                "[憨笑]"      => '<img title="憨笑" src="/images/emoji/28.gif">',
                "[大兵]"      => '<img title="大兵" src="/images/emoji/29.gif">',
                "[奋斗]"      => '<img title="奋斗" src="/images/emoji/30.gif">',
                "[咒骂]"      => '<img title="咒骂" src="/images/emoji/31.gif">',
                "[疑问]"      => '<img title="疑问" src="/images/emoji/32.gif">',
                "[嘘]"        => '<img title="嘘" src="/images/emoji/33.gif">',
                "[晕]"        => '<img title="晕" src="/images/emoji/34.gif">',
                "[折磨]"      => '<img title="折磨" src="/images/emoji/35.gif">',
                "[衰]"        => '<img title="衰" src="/images/emoji/36.gif">',
                "[骷髅]"      => '<img title="骷髅" src="/images/emoji/37.gif">',
                "[敲打]"      => '<img title="敲打" src="/images/emoji/38.gif">',
                "[再见]"      => '<img title="再见" src="/images/emoji/39.gif">',
                "[擦汗]"      => '<img title="擦汗" src="/images/emoji/40.gif">',
                "[抠鼻]"      => '<img title="抠鼻" src="/images/emoji/41.gif">',
                "[鼓掌]"      => '<img title="鼓掌" src="/images/emoji/42.gif">',
                "[糗大了]"    => '<img title="糗大了" src="/images/emoji/43.gif">',
                "[坏笑]"      => '<img title="坏笑" src="/images/emoji/44.gif">',
                "[左哼哼]"    => '<img title="左哼哼" src="/images/emoji/45.gif">',
                "[右哼哼]"    => '<img title="右哼哼" src="/images/emoji/46.gif">',
                "[哈欠]"      => '<img title="哈欠" src="/images/emoji/47.gif">',
                "[鄙视]"      => '<img title="鄙视" src="/images/emoji/48.gif">',
                "[委屈]"      => '<img title="委屈" src="/images/emoji/49.gif">',
                "[快哭了]"    => '<img title="快哭了" src="/images/emoji/50.gif">',
                "[阴险]"      => '<img title="阴险" src="/images/emoji/51.gif">',
                "[亲亲]"      => '<img title="亲亲" src="/images/emoji/52.gif">',
                "[吓]"        => '<img title="吓" src="/images/emoji/53.gif">',
                "[可怜]"      => '<img title="可怜" src="/images/emoji/54.gif">',
                "[菜刀]"      => '<img title="菜刀" src="/images/emoji/55.gif">',
                "[西瓜]"      => '<img title="西瓜" src="/images/emoji/56.gif">',
                "[啤酒]"      => '<img title="啤酒" src="/images/emoji/57.gif">',
                "[篮球]"      => '<img title="篮球" src="/images/emoji/58.gif">',
                "[乒乓]"      => '<img title="乒乓" src="/images/emoji/59.gif">',
                "[拥抱]"      => '<img title="拥抱" src="/images/emoji/78.gif">',
                "[握手]"      => '<img title="握手" src="/images/emoji/81.gif">',
            );
        }
    }

    /**
     * @return array
     */
    function getEmoji()
    {
        return $this->emoji;
    }

}